package com.ktjiaoyu.crm.mapper;

import com.ktjiaoyu.crm.pojo.User;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;

public interface UserMapper {

    int insertUser(User user);

    @Delete("delete from sys_user where usr_id=#{id}")
    int deleteUserById(int id);

}
